package com.bootdo.system.service;

import com.bootdo.system.domain.BizhongDO;
import com.bootdo.system.domain.FrontuserDO;
import com.bootdo.system.domain.JiaoyiVO;
import com.bootdo.system.domain.JiaoyicelueDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-02-04 11:46:52
 */
public interface JiaoyicelueService {

     void saveCelue(FrontuserDO user, BizhongDO bizhongDO);
	
	JiaoyicelueDO get(Long id);
	
	List<JiaoyicelueDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(JiaoyicelueDO jiaoyicelue);
	
	int update(JiaoyicelueDO jiaoyicelue);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    List<JiaoyiVO> listwithKeyword(Long userid,String keyword);

    void batchSave(Long userid);

    void updateByUserIdAndBizhongid(JiaoyicelueDO jiaoyicelueDO);

    void updateids(Integer[] ids, Long userid);

    void updateByUserIdAndBizhongid2(JiaoyicelueDO jiaoyicelueDO);

    List<JiaoyicelueDO> getList();

    JiaoyicelueDO getMairuPriceByUidAndBid(Long userid, Integer bizhongid);

    JiaoyicelueDO getCelueByUserIdAndBizhongId(Long userid, Integer id);

    void updateZhangfu(JiaoyicelueDO jiaoyicelueDO);
}
